//
//  ILGBaseView.m
//  ILGDemo
//
//  Created by HappyWork on 2018/11/8.
//  Copyright © 2018 Happy. All rights reserved.
//

#import "ILGBaseView.h"

@implementation ILGBaseView

+ (instancetype)view {
    return [[self alloc] init];
}

- (CGSize)screenSize {
    return [UIScreen mainScreen].bounds.size;
}
- (CGFloat)screenWidth {
    return self.screenSize.width;
}
- (CGFloat)screenHeight {
    return self.screenSize.height;
}

- (void)dealloc {
    NSLog(@"视图已经被释放:%@",NSStringFromClass([self class]));
}

@end
